package com.kfm.service;

import com.kfm.entity.Classes;
import com.kfm.mapper.IClassesMapper;


import java.util.List;

public class ClassesService {

    private IClassesMapper dao;

    public ClassesService(IClassesMapper mapper){
        dao = mapper;
    }

    public List<Classes> findAll(){
        return dao.selectAll();
    }
}
